#include "mainwindow.h"

#include <QApplication>

void debugInfo(const char* module, const char* line, const char* func, QString desc){
    qDebug() << "["<<  module <<"][" << line << "][" << func << "]" << desc.toStdString().c_str();
}
void debugError(const char* module, const char* line,  const char* func, QString desc){
    qCritical() << "["<<  module <<"][" << line << "][" << func << "]" << desc.toStdString().c_str();
}
void debugWarning(const char* module, const char* line,  const char* func, QString desc){
    qWarning() << "["<<  module <<"][" << line << "][" << func << "]" << desc.toStdString().c_str();
}


int main(int argc, char *argv[])
{
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    QApplication a(argc, argv);
    MainWindow w;
    w.showMaximized();//最大画面区域显示
    return a.exec();
}
